package com.ngkj.zmfptCommon.common.sftp;

import java.util.HashMap;
import java.util.Map;

/**
 * @author ChenHN
 * @since 2021/12/29 creation
 **/
public class SFTPConstants {
    public static final String SFTP_REQ_HOST = "host";
    public static final String SFTP_REQ_PORT = "port";
    public static final String SFTP_REQ_USERNAME = "username";
    public static final String SFTP_REQ_PASSWORD = "password";
    public static final int SFTP_DEFAULT_PORT = 22;
    public static final String SFTP_REQ_LOC = "location";

    public static final int TIMEOUT = 6000;

    public static Map<String,String> getConnectParameter(){
        Map<String, String> map = new HashMap<>();
        map.put(SFTPConstants.SFTP_REQ_USERNAME, "root");
        map.put(SFTPConstants.SFTP_REQ_PASSWORD, "123456");
        map.put(SFTPConstants.SFTP_REQ_HOST, "192.168.123.150");
        map.put(SFTPConstants.SFTP_REQ_PORT, "22");
        return map;
    }

}
